<template>
    <h2>前后端分离登录权限测试</h2>
    <el-button @click="btnClick">是否登录</el-button>
</template>

<script>
import {loginAfter} from "../../network/login/test";

export default {
    name: "authenticationTest",
    methods:{
        btnClick(){
            loginAfter().then(data=>{
                console.log('登录后可访问的数据',data);
            })
        }
    }
}
</script>

<style scoped>

</style>